#ifndef RESPONSEQUEUE_H_
#define RESPONSEQUEUE_H_

#include "Queue.h"
#include "Messages.h"

class ResponseQueue {
private:
	Queue<ResponseMessage> queue;

public:
	ResponseQueue(char* file, char character);
	virtual ~ResponseQueue();

	// Server-side
	int Send(long mtype, ResponseMessage responseMessage);

	// Client-side
	int Receive(ResponseMessage& responseMessage);

	void destroy();
};

#endif /* RESPONSEQUEUE_H_ */
